Summary of keywords and reserved words in basic Javascript tutorials, basic javascript tutorials
Keywords cannot be used as variable or function names
Copy codeThe Code is as
Keywords and reserved words http://www.cnblogs.com/wwxbi/p/4292170.htmlAccess controlPrivate protected publicClass, method, and variable modifiersAbstract class extends final implements interface native new static
This article mainly introduces the keywords and reserved word summary in the basic Javascript tutorial. You can refer to the keywords that cannot be used as variable or function names.
The Code is as follows:
Basic concept One, case-sensitiveEverything in ECMAScript (variables, function names, operators) is case-sensitive.The variable name test and test represent two different variables, respectively.Second, identifiersThe so-called identifier refers to
1. What is the difference between a Java keyword and a java reserved word?java keyword (KeyWord): Java compilers have special meanings, they are used to represent a data type or to represent the structure of a program.Java reserved word (Reserved
Keyword cannot be used as a variable name or as a function name Break CaseCatchContinuedefaultDelete DoElsefinally forfunctionifinchinstanceofNewreturnSwitch ThisThrowTrytypeofvarvoid while withReserved words are prepared for future keywordsIt
Key words:The Java language has been defined in advance and has a special meaning and purpose.
Access control
Class, method, and variable modifiers
Program
Exception handling
Package related
Basic type
Keywords: Java's keywords have special meanings for Java compilers, they are used to represent a data type, or to represent the structure of a program.Reserved word: A keyword reserved for java. It is not yet available, but may be used as a keyword
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.